/* 主容器 */
.main-container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #000;
}

/* 页面头部 */
.page-header {
  position: relative;
  width: 100%;
  height: 120px;
  z-index: 10;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding: 0 40px;
}


/* 右侧按钮区域 */
.header-buttons {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: 100%;
  padding-top: 20px;
}

.exhibition-btn {
  background: transparent;
  border: none;
  color: #4A90E2;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 20px;
  transition: color 0.3s;
  height: 40px;
  display: flex;
  align-items: center;
}

.exhibition-btn:hover {
  color: #6BA3F5;
}

.lang-btn, .theme-btn {
  background: white;
  border: none;
  border-radius: 6px;
  color: #4A90E2;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 20px;
  transition: all 0.3s;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.lang-btn:hover, .theme-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* 中间部分 */
.main-content {
  position: relative;
  width: 100%;
  height: calc(100vh - 240px);
  z-index: 5;
}

.main-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 动作选择器 */
.action-selector {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.action-dropdown {
  background: white;
  border: 2px solid #4A90E2;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  min-width: 120px;
}

.action-dropdown:focus {
  outline: none;
  border-color: #6BA3F5;
}

/* AI提示 */
.ai-notice {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.notice-gif {
  height: 40px;
  width: auto;
}

/* 数字人区域 */
.digital-human-section {
  position: absolute;
  left: 20px;
  top: 80px;
  width: 40%;
  height: calc(100% - 100px);
  z-index: 8;
}

.human-model {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-placeholder {
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

/* 3D数字人模型容器 */
.human-model {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

/* 视频区域 */
.video-section {
  position: absolute;
  right: 20px;
  top: 80px;
  width: 50%;
  height: calc(100% - 100px);
  z-index: 8;
}

.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-border {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
}

.video-player {
  height: calc(100% - 110px);
  width: calc(100% - 30px);
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto 0 auto;
}

.video-placeholder {
  color: white;
  font-size: 16px;
}

/* 页面底部 */
.page-footer {
  position: relative;
  width: 100%;
  height: 120px;
  z-index: 10;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaking-icon-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.speaking-icon {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.3s;
}

.speaking-icon:hover {
  transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    padding: 0 20px;
  }
  
  .company-name-zh {
    font-size: 20px;
  }
  
  .company-name-en {
    font-size: 12px;
  }
  
  .header-buttons {
    gap: 10px;
  }
  
  .lang-btn, .theme-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .digital-human-section,
  .video-section {
    width: 45%;
  }
}
